The pellicle is a thin layer supporting the cell membrane in various protozoa, protecting them and allowing them to retain their shape, especially during locomotion, allowing the organism to be more hydrodynamic. They vary from flexible and elastic to rigid. Although stiff, the pellicle is flexible and allows the protist to fit into tighter spaces. In ciliates and Apicomplexa, it is formed from closely packed vesicles called alveoli. In euglenids, it is formed from protein strips arranged spirally along the length of the body. Examples of protists with a pellicle are the euglenoids and the paramecium, a ciliate. The pellicle consists of many bacteria that adhere to the surface by their attachment pili. Thus, attachment pili allow the organisms to remain in the broth, from which they take nutrients, while they congregate near air, where the oxygen concentration is greatest.